package com.sitech.ibnms.c3p.service;

import com.sitech.ibnms.c3p.domain.ResourceAccount;
import com.sitech.ismp.messageObject.cc.CccpResults;
import request.ScriptRequest;

import java.util.Map;

/**
 * Created by liujhc on 7/22.
 */
public interface ScriptExecutor {
    CccpResults executeScript(final ScriptRequest req);

    CccpResults executeScript(final ScriptRequest req, Map<String, String> context);

    CccpResults executeScript(final ScriptRequest req, final ResourceAccount resourceAccount, Map<String, String> context);
    CccpResults executeSql(final ScriptRequest req, final ResourceAccount resourceAccount, Map<String, String> context);
}
